//
//  appearance.swift
//  Mall-swift
//
//  Created by dfpo on 2020/10/15.
//  Copyright © 2020 Bob. All rights reserved.
//

import UIKit
public struct Appearance {
    public static func tabBarItemAppearance() {
        
        let font = UIFont.systemFont(ofSize: 10)
        
        UITabBarItem.appearance().setTitleTextAttributes([NSAttributedString.Key.foregroundColor: AppColor.gray,
                                                          NSAttributedString.Key.font: font], for: .normal)
        
        UITabBarItem.appearance().setTitleTextAttributes([NSAttributedString.Key.foregroundColor: AppColor.main,
                                                          NSAttributedString.Key.font: font], for: .selected)
    }
}

